﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Sunimage.Spjg.BLL;

namespace Sunimage.Spjg.Web.UserClient
{
    public partial class Bulletin : System.Web.UI.Page
    {
        BulletinBl bulletinBl = new BulletinBl();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadData();
            }
        }

        private void LoadData()
        {
            rptNote.DataSource = bulletinBl.GetAll();
            rptNote.DataBind();
        }

        protected void pager_PageChanged(object sender, EventArgs e)
        {
            throw new NotImplementedException();
        }
    }
}